﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace WINADM.Server.WMI
{
    public class WMIHelperFactory : WINADM.Server.WMI.IWMIHelperFactory
    {
        ILog _logger;
        public WMIHelperFactory(ILog logger)
        {
            this._logger = logger;
        }

        public IWin32ProcessHelper CreateWin32ProcessHelper()
        {
            return new Win32ProcessHelper(_logger);
        }

        public IWin32ServiceHelper CreateWin32ServiceHelper()
        {
            return new Win32ServiceHelper(_logger);
        }

        public IWin32EventLogHelper CreateWin32EventLogHelper()
        {
            return new Win32EventLogHelper(_logger);
        }
    }
}
